#include "display_data.h"

display_data * display_data::m_display = NULL;
display_data::display_data(QObject *parent)
    : QAbstractItemModel(parent)
{
    m_display = new display_data();
}

void display_data::send_slots(QString mmp)
{
    m_display->postMessageCommand(mmp);
}
int display_data::postMessageCommand(QString mmp)
{
    emit this->read_data_send(mmp);
}
QVariant display_data::headerData(int section, Qt::Orientation orientation, int role) const
{
    // FIXME: Implement me!
}

QModelIndex display_data::index(int row, int column, const QModelIndex &parent) const
{
    // FIXME: Implement me!
}

QModelIndex display_data::parent(const QModelIndex &index) const
{
    // FIXME: Implement me!
}

int display_data::rowCount(const QModelIndex &parent) const
{
    if (!parent.isValid())
        return 0;

    // FIXME: Implement me!
}

int display_data::columnCount(const QModelIndex &parent) const
{
    if (!parent.isValid())
        return 0;

    // FIXME: Implement me!
}

QVariant display_data::data(const QModelIndex &index, int role) const
{
    if (!index.isValid())
        return QVariant();

    // FIXME: Implement me!
    return QVariant();
}
